﻿using System;
using System.Windows.Forms;

namespace BOF
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            string[] args = Environment.GetCommandLineArgs();

            //Note unlike console projects args[0] is the program path, and args will always be >= 1 long
            if (args.Length == 2)
                Application.Run(new frmMain(args[1]));
            else
                Application.Run(new frmMain());
        }
    }
}
